package top.aigoo.project01.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Description: 顾客消费的商品映射,统计店铺里具体某件商品每一天销售量
 * @Author: Mr.OYSHUO.欧阳大叔  mail:1642302522@qq.com
 * @Version 1.0.0
 * @Date: 2021/9/21 21:16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProductSellDaily {
    //哪天的销量，精确到天
    private Date createTime;
    //该件商品当天销售量
    private Integer total;
    //复合类型 商品信息实体类
    private Product product;
    //复合类型 店铺信息实体类
    private Shop shop;
}
